package com.zjsru.fallback;

import com.zjsru.clients.ProductClient;
import com.zjsru.pojo.Result;
import org.springframework.stereotype.Component;

@Component
public class ProductClientFallback implements ProductClient {
    @Override
    public Result updateProductCount(Integer integer, Long productId) {
        return Result.error(500, "商品服务不可用");
    }
}
